#include <iostream>
#include "../../include/pageLib/PageLib.h"
#include "../../include/mylog.h"

using std::cout;
using std::endl;
using Mylog = mylog::Mylogger;

int main()
{
    Mylog::getInstance("root"); // 日志实例化 
    Configuration* pconf = Configuration::getInstance("../conf/searchSever.conf"); // 配置实例化
    PageLib pageLib(*pconf); // 网页库对象
    pageLib.create(); // 生成网页库 
    pageLib.store(); // 将网页库进行存储 
    return 0;
}

